package dyyx.simplerpc;

import java.time.LocalDateTime;

public class NettyServerMain  {
	
    public static void main(String[] args) throws Exception {
    	int port = Integer.getInteger("port", 8888);
    	ServerHandler handler = new ServerHandler();
    	NettyServer server = new NettyServer(handler, port);
    	
		System.out.println("NettyServerMain,start,port="+port+","+LocalDateTime.now());

    	server.start();
    	
    	
    }

}

